home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Magnum One
/
Magnum One (Mid-American Digital) (Disc Manufacturing).iso
/
d2
/
shez63.arc
/
AUTOSHEZ.BAT
next >
Wrap
DOS Batch File
|
1991-07-18
|
3KB
|
43 lines
echo off
REM ┌──────────────────────────────────────────────────────────────────────────┐
REM │ This is a bat file to automatically startup SHEZ and tag all files, │
REM │ then run a virus check, and strip the comment records out of all tagged │
REM │ .ZIP files. After all operations are performed control will return to │
REM │ this batch file. │
REM └──────────────────────────────────────────────────────────────────────────┘
REM
REM ┌──────────────────────────────────────────────────────────────────────────┐
REM │ The set command tells SHEZ the name of the LOG file to use. │
REM └──────────────────────────────────────────────────────────────────────────┘
set shezlog=d:\z.log
REM ┌──────────────────────────────────────────────────────────────────────────┐
REM │ The stuff command stuffs keystrokes into the keyboard buffer. │
REM │ In this case CTRL-T CTRL-Z ESC and ALT-Q are stuffed in. │
REM │ │
REM │ If you are using 4DOS or NDOS with KEYSTACK loaded you may replace the │
REM │ STUFF command with the KEYSTACK command as follows: │
REM │ │
REM │ KEYSTACK 20 26 27 @16 │
REM └──────────────────────────────────────────────────────────────────────────┘
stuff ^T ^Z ESC ~Q
REM ┌──────────────────────────────────────────────────────────────────────────┐
REM │ Now startup SHEZ and tell it to look for all .ZIP files on the D: drive │
REM │ in the \DOWN\ directory. │
REM │ │
REM │ The sutffed keystrokes will tell SHEZ: │
REM │ 1) CTRL-T = Tag all found files. │
REM │ 2) CTRL-Z = Virus check all tagged files, and strip comment records │
REM │ out of any found .ZIP files. │
REM │ 3) ESC = ESC out of the automatic browse of the log file. │
REM │ 4) ALT-Q = Exit SHEZ. │
REM └──────────────────────────────────────────────────────────────────────────┘
shez d:\down\l*.zip
REM ┌──────────────────────────────────────────────────────────────────────────┐
REM │ Now view the log file. │
REM └──────────────────────────────────────────────────────────────────────────┘
list d:\z.log
REM ┌──────────────────────────────────────────────────────────────────────────┐
REM │ Clear the environment variable SHEZLOG. │
REM └──────────────────────────────────────────────────────────────────────────┘
set shezlog=